package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author ljc
 * @version V1.0
 * @date 2025-03-11 16:02
 */
@Component("alertJob")
@Slf4j
public class AlertJob {
    @Autowired
    private IAlertRuleService alertRuleService;
    public void deviceDataAlertFilter() {
        log.info("开始执行报警规则任务");
        alertRuleService.alertFilter();
    }
}
